color editor: Redo the non-activatable color swatch
authorMatthias Clasen <mclasen@redhat.com>
Sat, 31 Oct 2015 02:16:18 +0000 (22:16 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 31 Oct 2015 02:19:07 +0000 (22:19 -0400)
commitdfedda3deefc16a5ef8c45218dd600f81fd16d71
treed24732d92dbc5bc6bf11eeb37aae626e00631701
parent42a231a61c609f095a58f82a620a147890261435
color editor: Redo the non-activatable color swatch

Use a .activatable style class on the color swatch and tie the
hover effect to it. The color editor simply removes this class
now to get an inert color swatch.

This is more flexible and lets us avoid referring to the
GtkColorEditor type in the theme.
gtk/gtkcoloreditor.c
gtk/gtkcolorswatch.c
gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css
gtk/theme/HighContrast/_common.scss
gtk/theme/HighContrast/gtk.css